package com.eesujie.xcs.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class UserVO {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String username;
    private String ipv4;
    private String avatar;
    private String nickname;
    /**
     * 关注数
     */
    @TableField("`following`")
    private Integer following;

    /**
     * 粉丝数
     */
    private Integer follower;

    /**
     * 获赞与收藏数
     */
    private Integer likes;
}
